package com.chengzzz.mysite.filter;

import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.servlet.config.annotation.CorsRegistration;

/**
 * <p>
 * kuayu
 * </p>
 *
 * @author 等什么柠檬君
 * @since 2020/8/28
 */
public class MyCorsRegistration extends CorsRegistration {



    public MyCorsRegistration(String pathPattern) {
        super(pathPattern);
    }


    @Override
    public CorsConfiguration getCorsConfiguration() {
        return super.getCorsConfiguration();
    }
}
